﻿/*--------------------------全--局-------------------------------*/
body{margin:0;padding:0;color:#555;font-size:14px;font-family:"微软雅黑","宋体","Trebuchet MS",Tahoma,Arial,sans-serif; background:#f8f8f8;}
abbr,address,article,aside,audio,b,blockquote,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;outline:0;border:0;background:0 0}
a{text-decoration:none; color:#333}
a:hover{color:red;text-decoration:none}
a:active{text-decoration:none}
dl,ol,ul{list-style-type:none;list-style-position:outside;margin:0;padding:0}
li{margin:0;padding:0;font-style:normal;}
img{border:0;max-width:100%}
p{margin:0;padding:0}
dl{margin:0;padding:0}
dd{margin:0;padding:0}
dt{margin:0;padding:0}
h1,h2,h3,h4,h5,h6{font-weight:400}
.clear{clear:both}
.divWarp{width:980px;margin:0 auto 0 auto;padding:0;text-align:left}
/*---------------------------各模块设定-------------------------------*/
#divAll{width:100%;margin:0 auto;padding:0;text-align:center;}
#divPage{width:100%;margin:0 auto;padding:0;text-align:center;text-align:center;}
#divTop{width:980px;margin:0 auto;padding:15px 0;text-align:left;clear:both}
#divSidebar{width:23.3%;margin:15px 0 0 0;padding:0;text-align:left;float:right}
#divMain{width:74%;margin:15px 0 0 0;padding:0 0 30px 0px;text-align:left;float:left}
#divBottom{width:100%;margin:0;padding:45px 0 0 0;text-align:center;clear:both;height:75px}

/*头部*/
.divBox{ background:#fff;}
.logo{font-size:0;}
.logo a img{ height:46px; width:auto}
.divBanner{ width:100%; min-height:180px; clear:both; display:block; font-size:0;}

/*-------------------------------导航栏--------------------------------*/
#divNavBar{float:right;width:100%;height:42px;color:#fff; background:#09F}
#divNavBar h3{display:none}
#divNavBar ul{margin:0;padding:0;float:left}
#divNavBar ul li{ position:relative;}
#divNavBar ul li>ul{ display:none; position:absolute; top:58px; left:0;min-width:100%;}
#divNavBar ul li>ul li{min-width:100%;height:42px; display:block; text-align:center;}
#divNavBar ul li>ul li a{ color:#333; min-width:100%; padding:0;background:#fff;height:42px;line-height:42px;}
#divNavBar ul li:hover>ul{ display:block; top:42px;}
#divNavBar li{float:left;padding:0;margin:0;font-size:1em}
#divNavBar a{float:left;margin:0;padding:0px 25px 0px 25px;text-decoration:none; height:42px;line-height:42px; color:#fff;}
#divNavBar a.on{color:#fff;background:#226bb8}
#divNavBar a:hover{color:#fff;background:#226bb8}

/*------------------------------侧边栏定义---------------------------*/
.function{float:left;width:100%;margin:0 0 15px 0;padding:0;text-align:left; background:#fff; border:1px solid #ededed}
.function .function_t{font-size:1.15em;height:24px;line-height:24px;margin:0 0 2px 0;padding:5px 0 5px .6em;color:#444;background:#fbfbfb;border-bottom:1px solid #ededed}
.function ul{text-align:left;width:90%;margin:0;padding:2% 5%;border-top:1px solid #FFF;list-style-position:outside;list-style-type:none}
.function li{font-size:1em;margin:0;padding:.4em 0 .4em .9em;width:auto}
.function .function_c{padding:0}
.function .function_c div{padding:.5em 0 .6em 0em;line-height:1.5em;}
.function .previous-one-img{ font-size:0; display:inline-block; margin:0 0 0 1em}
.function a{color:#333}
.function a:hover{color:red}

#divPrevious.function li,#divComments.function li,#divArchives.function li{padding:.4em 0 .4em 0em; background:none;}
.previous-recent-title .info{ color:#999;}
/*------------------------------网站目录定义---------------------------*/
#divMisc li{padding-left:0;background:0 0}
#divCatalog li span.feed-icon{display:none}
#divCatalog li.li-subcate{margin:0 0 0 1em}
#divSearchPanel input[type=text]{border:1px solid #bfd0d7;height:24px;line-height:24px;width:150px}
#divSearchPanel input[type=submit]{border:1px solid #bfd0d7;height:28px;line-height:24px;width:50px;margin-left:0;background:#e5f0f6}
#divTags{padding:0}
#divTags .tag-count{display:none}
#divTags li{float:left;background:0 0;padding-left:0;padding-right:.5em;padding:5px 8px 5px 0;display:inline;clear:none}
#divComments li,#divPrevious li{width:100%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis}

/*-----------------------------日历-----------------------------*/
#divCalendar{width:100%;padding:0}
#divCalendar div{width:225px;margin:0;padding:5px 0 5px 5px;float:left}
#divCalendar table{width:96%;padding:0 2% 0 2%;text-align:center}

/*------------------------------文章模块---------------------------*/


div.post{width:96.6%;margin:0 0 15px 0;padding:20px 2.5% 2px 2.5%;text-align:left;clear:both;word-break:break-all; border:1px solid #ededed; background:#fff; float:left;}
div.post.istop{ padding-bottom:10px;}
div.istop-post{padding-top:0;padding-bottom:35px}
div.pagebar{width:96.6%;padding:20px 0% 5px 0%;}

/*---------------------------文章上下翻条------------------------*/
div.post-nav {width:100%;height:20px; margin:0 0 10px 0;clear:both;font-size:1em;}


/*---------------------------文章内容------------------------*/


div.post .post-title{margin:0;padding:0 0 10px 0;font-size:1.4em;line-height:1.4em;color:#284259;text-align:left;background:#FFF;width:80%;float:left}
div.istop-post .post-title{text-align:left;border-bottom:none;margin:0;padding-bottom:0}
div.post .post-date{height:1em;line-height:1em;margin:0;padding:10px 0 0 0;font-size:.9em;font-weight:400;text-align:right;width:20%;float:right;color:#666}
div.post .post-footer{width:100%;margin:30px 0 20px 0;padding:0 0 5px 0;font-size:.9em;font-weight:400;color:#aaa;text-align:right}
div.post .post-tags{width:100%;margin:0;padding:2px 0 0 0;font-size:1em;font-weight:400;color:gray;height:20px;text-align:left;text-indent:0}
div.post .post-tags a{ margin-right:10px;}
div.post div.post-body{width:100%;margin:0 0 15px 0;padding:8px 0 0 0;font-size:1em;text-align:justify;line-height:180%;clear:both;border-top:1px solid #ededed;word-break:break-all}
div.post-body a{text-decoration:none}
div.post-body p{margin:10px 0 15px 0;padding:0;text-indent:0}



/*----------文章中引用code------*/

div.post-body div.syntaxhighlighter{margin:.5em 1em .5em 2em!important;width:auto!important}
div.post-body li p{overflow:visible;text-indent:0;margin:3px 0}
div.post-body ol,div.post-body ul{margin-left:3.5em}
div.post-body code{width:93%;padding:5px;background:#f8f8f8;border:1px #F4F4F4 solid}
div.post-body blockquote{width:93%;background:#F4F4F4;border-left:10px solid #ececec;margin:15px 5px;padding:5px}
div.post-body img{max-width:100%;height:auto}
div.post-body table{border-collapse:collapse;background:#fff;line-height:140%}
div.post-body td,th{margin:0;padding:3px;text-indent:.25em}
div.post-body h1{color:#000;margin:0;padding:0;font-size:1.2em}
div.post-body h2{color:#000;margin:0;padding:0;font-size:1.1em}
div.post-body h3{color:#000;margin:0;padding:0;font-size:1em}
div.post-body h4{color:#000;margin:0;padding:0;font-size:1em}
div.post-body h5{color:#000;margin:0;padding:0;font-size:.9em}
div.post-body h6{color:#000;margin:0;padding:0;font-size:.8em}



/*----------------------隐藏最近文章前的日期---------------------------------*/
.article-date { display: none;}


/*---------------------------blog标题-----------------------------*/

#BlogTitle{font-size:2.2em;margin:0;padding:0;font-weight:400;float:left;line-height:1.6em}
#BlogTitle a{color:#3a6da4}
#BlogTitle a:hover{color:red;text-decoration:none}
#BlogTitle a:active{color:red;text-decoration:none}
#BlogSubTitle{color:gray;font-size:1.2em;font-weight:400;margin:18px 0 0 10px;padding:0;float:left;line-height:1.6em}


/*---------------------------版权-----------------------------*/

#BlogPowerBy{font-size:.9em;height:25px;margin:0;padding:0;text-align:left;font-weight:400}
#BlogCopyRight{font-size:.9em;height:20px;margin:0;padding:0;text-align:left;font-weight:400}
#BlogCopyRight a,#BlogPowerBy a{color:#666}
#BlogCopyRight a:hover,#BlogPowerBy a:hover{color:red}



/*---------------------------文章和评论翻页条------------------------*/
a.l{text-align:left;float:left;}
a.r{text-align:right;float:right;}


/*---------------------------引用\评论----------------------------------*/
ul.msg{width:100%;margin:0;padding:10px 0% 10px 0%;text-align:left;list-style-position:outside;table-layout:fixed;word-wrap:break-word; background:#fff;}
li.msgname{padding:0 0 10px 5px;margin:0;font-weight:700;font-size:1em}
li.msgurl{text-align:right;padding:2px 10px 2px 10px;margin:0;font-size:1em}
li.msggravatar{display:block;float:left;margin-right:5px}
li.msgarticle{list-style-position:outside;padding:10px;margin:0;line-height:160%;background:#FFF;padding-left:60px;border-bottom:1px solid #ededed}
li.msgtime{padding:5px 0 0 0;font-weight:400;font-size:.8em}
img.avatar{width:40px;height:40px;float:left;padding:4px;border:1px solid #ededed;margin-right:5px;}
ul.msg ul.msg{padding:10px 0 0 0;margin:20px 0 0 0;border-top:1px solid #ededed;border-bottom:none}
ul.msg ul.msg li.msgarticle{padding-bottom:0;border-bottom:0 solid #ededed}
ul.msg ul.msg li.msgname{padding:0}




/*---------------------------相关文章----------------------------------*/
ul.msghead,ul.mutuality,ul.pagebar{border:none}
ul.msghead li.tbname,ul.mutuality li.tbname{padding-bottom:10px;border-bottom:1px solid #dbe0e6}
ul.mutuality li.msgarticle{padding-left:0;border:none}




/*-------------------留言回复------------------------------*/
li.msgarticle div.quote{margin:10px 0 0 0;padding:10px;background:#FFF;border:1px #F4F4F4 solid}
li.msgarticle div.quote-title{margin:0;padding:0;font-size:1em;color:red}


/************评论发表用的样式*************/
#divCommentPost{width:96.6%;margin:0;padding:20px 2.5% 20px}
#divCommentPost p{margin-top:10px}
#divCommentPost label{margin-top:5px}
#divCommentPost p.posttop{color:#3c6da7}
#divCommentPost img{margin-bottom:-.5em}
#cancel-reply{float:right;margin-right:2em}
div.reply-frm{background:#f0f0f0;box-shadow:0 0 15px #666;margin:1em 1%!important;padding:.3em .8em!important;min-width:330px}
input.text{border:1px solid #d7d7d7;line-height:20px;height:24px;padding:2px 5px 2px 5px}
#txaArticle{padding:5px;width:98.3%;height:150px;border:1px solid #ededed}
input.button{color:#FFF;font-size:14px;width:100px;height:32px;background:#09f;border:1px solid #09f;cursor:pointer}
.cmBox{width:96.6%;margin:0;padding:20px 2.5% 20px;border:1px #ededed solid; background:#fff; margin-bottom:15px;border-top:none;padding-top:0;}
.cmBox.t{ border-bottom:none;border-top:1px #ededed solid; margin-bottom:0; padding-bottom:0;padding-top:20px;}


/*--------------------------分页条-------------------------------*/
span.page{color:#666;font-weight:100;padding:2px 5px 2px 5px;margin-right:4px;border:1px solid #ededed; background:#fff; min-width:15px; text-align:center; display:inline-block;}
span.now-page{font-weight:100;padding:2px 5px 2px 5px;margin-right:4px;border:1px solid #09f; background:#09f; color:#fff;}
a:hover span.page{color:#fff;border:1px solid #09f;background:#09f;}
ul.ul-subcates{padding:8px 0 0 0;margin-bottom:-8px}
span.sh{border:1px solid #CCC;padding:0 3px;margin-right:5px;font-size:.5em;font-family:monospace;cursor:pointer;color:#666}


div.post-body td, th{ border:1px solid #ebebeb}
